Skip to content

Add trustpub::DeleteExpiredJtis/Tokens background jobs #11222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 21, 2025

This PR is part of #10247. It implements two backgrounds jobs that delete expired temporary access tokens and JSON web token IDs (JTIs) from the database. The enqueue-job trustpub_cleanup admin command can be set up as a cron job to regularly remove expired rows from the database.

@Turbo87 Turbo87 requested a review from a team May 21, 2025 13:08
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels May 21, 2025
@Turbo87 Turbo87 changed the title Implement trustpub::DeleteExpiredJtis/Tokens background jobs Add trustpub::DeleteExpiredJtis/Tokens background jobs May 23, 2025
@Turbo87 Turbo87 force-pushed the trustpub-cleanup branch from 9eedb86 to dd3dda9 Compare May 23, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant